-- GENERATED SPELL FOR [Risen Squire] --


function spell0_16154(pUnit, Event) --@Pierce Armor,n/a--
pUnit:FullCastSpellOnTarget(55318,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_16154', 10000, 1)
end

function Sorts_16154(pUnit, Event)
local choix_sorts_16154 = math.random(0, 0)
if choix_sorts_16154 == 0 then
pUnit:RegisterEvent('spell0_16154', 1, 1)
end
end

function mob16154_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_16154', math.random(1500, 3000), 1)
end

function mob16154_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16154_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16154_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(16154, 1, 'mob16154_Action')
RegisterUnitEvent(16154, 2, 'mob16154_Leave')
RegisterUnitEvent(16154, 3, 'mob16154_Kill')
RegisterUnitEvent(16154, 4, 'mob16154_Die')
